package com.zlc.big_event.service;

import com.zlc.big_event.pojo.Category;

import java.util.List;

public interface CategoryService {
    //添加
    void add(Category category);

    //列表查询
     List<Category> list();

     //根据id查询
    Category FindById(Integer id);

    //修改
    void update(Category category);

    //删除
    void delete(Integer id);
}
